package blog.entity;

import java.util.Date;

/**
 * Message entity. @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer msgId;
	private Integer msgBlogId;
	private String msgContent;
	private Date msgTime;
	private Integer msgType;

	// Constructors

	/** default constructor */
	public Message() {
	}

	public Message(Integer msgBlogId, String msgContent,
			Date msgTime, Integer msgType) {
		super();
		this.msgBlogId = msgBlogId;
		this.msgContent = msgContent; 
		this.msgTime = msgTime;
		this.msgType = msgType;
	}

	public Integer getMsgId() {
		return msgId;
	}

	public void setMsgId(Integer msgId) {
		this.msgId = msgId;
	}

	public Integer getMsgBlogId() {
		return msgBlogId;
	}

	public void setMsgBlogId(Integer msgBlogId) {
		this.msgBlogId = msgBlogId;
	}

	public String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	public Date getMsgTime() {
		return msgTime;
	}

	public void setMsgTime(Date msgTime) {
		this.msgTime = msgTime;
	}

	public Integer getMsgType() {
		return msgType;
	}

	public void setMsgType(Integer msgType) {
		this.msgType = msgType;
	}

		
}